package com.battcn.platform.service.money;

import com.battcn.framework.mybatis.page.DataGrid;

import com.battcn.platform.pojo.dto.money.ExpenditureDto;
import com.battcn.platform.pojo.dto.money.ExpenditureRecordDto;
import com.battcn.platform.pojo.message.ApiResult;
import com.battcn.platform.pojo.po.money.TbExpenditure;
import com.battcn.platform.pojo.po.money.TbExpenditureRecord;
import com.battcn.platform.service.sys.BaseService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface ExpenditureService extends BaseService<TbExpenditure> {

    public ApiResult<String> updateStatus(TbExpenditureRecord record);

    public List<ExpenditureRecordDto> findRecordList(ExpenditureRecordDto dto);

    public PageInfo<ExpenditureDto> findRecordPage(DataGrid grid, ExpenditureDto dto);

    public PageInfo<ExpenditureDto> findList(DataGrid grid, TbExpenditure expenditure);
}
